From: Owen W. Taylor Date: Mon, 25 Aug 2014 13:48:19 +0000 (-0400) Subject: perf: fix wallpaper style for overridden background X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2228 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c93767768ce9a29f228f4c2ad8d68683610c7ea2;p=gnome-shell.git perf: fix wallpaper style for overridden background The code that loads SHELL_BACKGROUND_IMAGE, which is used to load the performance background was loading it in WALLPAPER mode, not ZOOM mode. Zoom mode is what we use for the actual GNOME defaultiwallpaper and what we want to test: the background will be scaled except when the resolution matches the 2560x1440 default backgrounds. https://bugzilla.gnome.org/show_bug.cgi?id=735385 --- diff --git a/js/ui/background.js b/js/ui/background.js index 3fe0b7a02..27ce1242a 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -587,7 +587,7 @@ const Background = new Lang.Class({ let filename; if (this._overrideImage != null) { filename = this._overrideImage; - this._style = GDesktopEnums.BackgroundStyle.WALLPAPER; // Hardcode + this._style = GDesktopEnums.BackgroundStyle.ZOOM; // Hardcode } else { this._style = this._settings.get_enum(BACKGROUND_STYLE_KEY); if (this._style == GDesktopEnums.BackgroundStyle.NONE) {